package com.dbsop.domain.transport.agg;

import com.dbsop.domain.transport.AggTransportOperation;
import org.elasticsearch.search.aggregations.AggregationBuilder;


public abstract class MaxMinOperation extends TransportAgg implements AggTransportOperation {



    public MaxMinOperation(String fieldName) {
        super(fieldName);
    }

    public MaxMinOperation(String fieldName, String formatName) {
        super(fieldName, formatName);
    }

    @Override
    public AggregationBuilder aggregationBuilder() {
        return this.doAggregationBuilder();
    }


    public abstract AggregationBuilder doAggregationBuilder();
}
